<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tetris Game: CFigure Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tetris Game
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Test game project created via Irrlicht and Qt</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_c_figure.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CFigure Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CFigure" -->
<p><code>#include &lt;<a class="el" href="_c_figure_8h_source.html">CFigure.h</a>&gt;</code></p>

<p><a href="class_c_figure-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a58047d173634f24a3fc90222c68521d2">CFigure</a> (irr::scene::ISceneNode *parent, irr::scene::ISceneManager *sceneManager, irr::s32 id, irr::io::IFileSystem *fileSystem, irr::f32 figureSize=10.0f, irr::io::path figureFile=&quot;&quot;, irr::scene::ESCENE_NODE_TYPE nodeType=irr::scene::ESNT_CUBE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a35456f7c9c4a9e51c3354df91a690eb2">createFigureFromFile</a> (irr::io::path pathToFile, irr::scene::ESCENE_NODE_TYPE elementalBlockType=irr::scene::ESNT_CUBE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a8f8b716ca67f4868ed88745bc0959d9a">saveFigureToFile</a> (irr::io::path pathToFile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a08e14272f108c53454527a83f4bcd840">isFigureEmpty</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#af7f485ea2017fd7ed3b6963e2411fd6e">~CFigure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#ab15309246081d62f94a15461fcebc3ff">OnRegisterSceneNode</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#adcdf27dd7b4443cfbe71f755962315fb">render</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
irr::core::aabbox3d&lt; irr::f32 &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a99251bf6decc2d863c4f715ac9f72c6a">getBoundingBox</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
irr::core::aabbox3d&lt; irr::f32 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#ad40c303b01a1ce95a75cc74393b00e6d">getTransformedBoundingBox</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual irr::u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a4a33091b086702eaf17c43a080486c2b">getMaterialCount</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual irr::video::SMaterial &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#ac2637bbd7ebed46f4f25d67818660af7">getMaterial</a> (irr::u32 num)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#ab0f1cb8794db1569b20e09f9dc443dbd">setPosition</a> (const irr::core::vector3df &amp;newpos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
irr::core::vector3df &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a52bf26bf906b05f2cad89a1da6d0d191">getPosition</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
irr::core::vector3df &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#aea8f6228c2d7ccf0854ff9d68919ccd1">getRotation</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#aac378c878c44b112cb37331f7402535e">setRotation</a> (const irr::core::vector3df &amp;rotation)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a345d107d126815dd566a0e019edb67d1">setScale</a> (const irr::core::vector3df &amp;scale)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
irr::core::vector3df &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#afd53d5c916efd6097bd8567d5f520659">getScale</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a02be5652ffd4c318fab1b3ec87a64790">remove</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a93841d1c9dda0ad0a414491ad8e5643f">applyTextureToFigure</a> (const irr::io::path &amp;textureFileName, irr::video::SColor colour)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::f32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a21cf29ca321109be4276476443e79be4">getFigureSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a7840e399feb2007c86e6634908c70b41">setFigureSize</a> (irr::f32 newSize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::vector3di&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#aa7aef045a3820a2a13a7556b3745a45e">getParentNodeFieldPosition</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a12ecd248cae015084b7fed967e4bdeca">constructNodesFieldPositions</a> (irr::core::vector3di <a class="el" href="class_c_figure.html#a9a39fd4b3513dbc4b52e044b985a4eab">parentNodeFieldPosition</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#acdfd111126e997b10b41a403b9e41b87">getExtremePositions</a> (irr::core::vector3di direction, irr::core::array&lt; irr::core::vector3di &gt; &amp;extremePositions)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a75c67cdc2b5539f06f191fcabcab6e8f">setParentNodeFieldPosition</a> (irr::core::vector3di newposition)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a0c669a08f0be8ce5eb329af952565a93">affectFieldPositions</a> (irr::core::vector3di affectVector)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a1cb65b826c4d874f07442d62b5d575f6">removeAllCreatedTextures</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#adf858d1abafeb1809c0c98061f3998a5">removeAllCreatedTextures</a> (irr::scene::ISceneNode *node)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">EGF_FIGURE_TYPE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a0530b792913bc40fbf8348e55baa5d5e">getFieldFigureType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a3b816d1bd875ac8ea4b0fc3ff304c138">isSolid</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a25ae8b28514fda0cd0085c3cc1d3a995">removeNodeByOffset</a> (irr::core::vector3di &amp;offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::array<br class="typebreak"/>
&lt; irr::core::vector3di &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a32bc032b7768e5fd58c9fbd6e55cef76">getFieldPositions</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#ae1890603d1689bde36a309febcce4a38">setFieldPositions</a> (irr::core::array&lt; irr::core::vector3di &gt; newFieldPositions)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#ab9abcbfa1e06d1334c27cbf6f060426e">getFieldPositionChanged</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a5464534917482746e41c05d06b5b248f">setFieldPositionChanged</a> (bool newValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::stringw&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a86058c9b1f7978f807378f171af07af8">getFigureName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a49fdb26a72a874fa603d9d3753294552">isFigureCollapse</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::array<br class="typebreak"/>
&lt; irr::core::vector3di &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#aea3b335a168f850759680c4a99ee05a9">fieldPositions</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::vector3di&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_figure.html#a9a39fd4b3513dbc4b52e044b985a4eab">parentNodeFieldPosition</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class of figure that represents some structure (square, t-block, l-block, line, etc.), composed from "elemental blocks" (squares or spheres, for now) - ISceneNodes. Also this class contains methods for game field interaction (field positions, border field positions etc.) </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a58047d173634f24a3fc90222c68521d2"></a><!-- doxytag: member="CFigure::CFigure" ref="a58047d173634f24a3fc90222c68521d2" args="(irr::scene::ISceneNode *parent, irr::scene::ISceneManager *sceneManager, irr::s32 id, irr::io::IFileSystem *fileSystem, irr::f32 figureSize=10.0f, irr::io::path figureFile=&quot;&quot;, irr::scene::ESCENE_NODE_TYPE nodeType=irr::scene::ESNT_CUBE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_figure.html#a58047d173634f24a3fc90222c68521d2">CFigure::CFigure</a> </td>
          <td>(</td>
          <td class="paramtype">irr::scene::ISceneNode *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::scene::ISceneManager *&#160;</td>
          <td class="paramname"><em>sceneManager</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::s32&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::io::IFileSystem *&#160;</td>
          <td class="paramname"><em>fileSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>figureSize</em> = <code>10.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::io::path&#160;</td>
          <td class="paramname"><em>figureFile</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::scene::ESCENE_NODE_TYPE&#160;</td>
          <td class="paramname"><em>nodeType</em> = <code>irr::scene::ESNT_CUBE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor</p>
<p>parameters required for ISceneNode constructor </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>- parent scene node for figure </td></tr>
    <tr><td class="paramname">sceneManager</td><td>- scene manager of scene </td></tr>
    <tr><td class="paramname">id</td><td>- id of current scene node</td></tr>
  </table>
  </dd>
</dl>
<p><a class="el" href="class_c_figure.html">CFigure</a> parameters </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fileSystem</td><td>- pointer to file system, required for saving/loading from files </td></tr>
    <tr><td class="paramname">figureSize</td><td>- scale factor for every side of figure </td></tr>
    <tr><td class="paramname">figureFile</td><td>- path (relative or full) to figure file </td></tr>
    <tr><td class="paramname">nodeType</td><td>- node type which will be "elemental" block for figures, i.e. ESNT_SPHERE creates figure composed from spheres </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af7f485ea2017fd7ed3b6963e2411fd6e"></a><!-- doxytag: member="CFigure::~CFigure" ref="af7f485ea2017fd7ed3b6963e2411fd6e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_figure.html#af7f485ea2017fd7ed3b6963e2411fd6e">CFigure::~CFigure</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor</p>
<p>remove all created elemental blocks, attached animators and created textures </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0c669a08f0be8ce5eb329af952565a93"></a><!-- doxytag: member="CFigure::affectFieldPositions" ref="a0c669a08f0be8ce5eb329af952565a93" args="(irr::core::vector3di affectVector)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a0c669a08f0be8ce5eb329af952565a93">CFigure::affectFieldPositions</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::vector3di&#160;</td>
          <td class="paramname"><em>affectVector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds to all field positions affect vector</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">affectVector</td><td>- vector to add to all field positions </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a93841d1c9dda0ad0a414491ad8e5643f"></a><!-- doxytag: member="CFigure::applyTextureToFigure" ref="a93841d1c9dda0ad0a414491ad8e5643f" args="(const irr::io::path &amp;textureFileName, irr::video::SColor colour)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a93841d1c9dda0ad0a414491ad8e5643f">CFigure::applyTextureToFigure</a> </td>
          <td>(</td>
          <td class="paramtype">const irr::io::path &amp;&#160;</td>
          <td class="paramname"><em>textureFileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::video::SColor&#160;</td>
          <td class="paramname"><em>colour</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a copy from texrure, then paint it with specific colour (exclude borders see setCubeColour method)</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">textureFileName</td><td>- path (relative or full) to texture file </td></tr>
    <tr><td class="paramname">colour</td><td>- colour to paint texture exclude borders </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a12ecd248cae015084b7fed967e4bdeca"></a><!-- doxytag: member="CFigure::constructNodesFieldPositions" ref="a12ecd248cae015084b7fed967e4bdeca" args="(irr::core::vector3di parentNodeFieldPosition)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a12ecd248cae015084b7fed967e4bdeca">CFigure::constructNodesFieldPositions</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::vector3di&#160;</td>
          <td class="paramname"><em>parentNodeFieldPosition</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Based on figure parent node game field position and figure structure constructs all figure nodes position on field i.e. t-block X-*-X | X with parent node (marked as *) game field position 5,5,5 and rotation 0,0,0 will have 5,4,5 4,5,5 5,5,5 5,5,6 positions in array</p>
<p>NOTE: result array of game field positions is sorted </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parentNodeFieldPosition</td><td>- parent node game field position </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a35456f7c9c4a9e51c3354df91a690eb2"></a><!-- doxytag: member="CFigure::createFigureFromFile" ref="a35456f7c9c4a9e51c3354df91a690eb2" args="(irr::io::path pathToFile, irr::scene::ESCENE_NODE_TYPE elementalBlockType=irr::scene::ESNT_CUBE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_figure.html#a35456f7c9c4a9e51c3354df91a690eb2">CFigure::createFigureFromFile</a> </td>
          <td>(</td>
          <td class="paramtype">irr::io::path&#160;</td>
          <td class="paramname"><em>pathToFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::scene::ESCENE_NODE_TYPE&#160;</td>
          <td class="paramname"><em>elementalBlockType</em> = <code>irr::scene::ESNT_CUBE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates figure from xml file, which represens structure of figure</p>
<p>i.e: &lt;?xml version="1.0"?&gt; &lt;figure name="tblock" comment="typical tblock node"&gt; &lt;side type="down"&gt; &lt;/side&gt; &lt;side type="left"&gt; &lt;/side&gt; &lt;side type="right"&gt; &lt;/side&gt; &lt;/figure&gt; this file represents t-block figure: X-*-X | X where node marked as * is root node (corresponds to figure-tag), and nodes marked as X is child nodes (corresponds to side-tags)</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pathToFile</td><td>- path (relative or full) to figure file </td></tr>
    <tr><td class="paramname">elementalBlockType</td><td>- node type which will be "elemental" block for figures, i.e. ESNT_SPHERE creates figure composed from spheres </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if figure created, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a99251bf6decc2d863c4f715ac9f72c6a"></a><!-- doxytag: member="CFigure::getBoundingBox" ref="a99251bf6decc2d863c4f715ac9f72c6a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const irr::core::aabbox3d&lt; irr::f32 &gt; &amp; <a class="el" href="class_c_figure.html#a99251bf6decc2d863c4f715ac9f72c6a">CFigure::getBoundingBox</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="acdfd111126e997b10b41a403b9e41b87"></a><!-- doxytag: member="CFigure::getExtremePositions" ref="acdfd111126e997b10b41a403b9e41b87" args="(irr::core::vector3di direction, irr::core::array&lt; irr::core::vector3di &gt; &amp;extremePositions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#acdfd111126e997b10b41a403b9e41b87">CFigure::getExtremePositions</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::vector3di&#160;</td>
          <td class="paramname"><em>direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::core::array&lt; irr::core::vector3di &gt; &amp;&#160;</td>
          <td class="paramname"><em>extremePositions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieves border figure positions on game field in specific direction </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_move_down_animator.html">CMoveDownAnimator</a> i.e. t-block X-*-X | X with parent node (marked as *) game field position 5,5,5 and rotation 0,0,0 with 5,4,5 4,5,5 5,5,5 5,5,6 game field positions and 0,-1,0 direction vector will have 5,4,5 4,5,5 5,5,6 exreme game field positions</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">direction</td><td></td></tr>
    <tr><td class="paramname">extremePositions</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0530b792913bc40fbf8348e55baa5d5e"></a><!-- doxytag: member="CFigure::getFieldFigureType" ref="a0530b792913bc40fbf8348e55baa5d5e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EGF_FIGURE_TYPE <a class="el" href="class_c_figure.html#a0530b792913bc40fbf8348e55baa5d5e">CFigure::getFieldFigureType</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>game field figure type </dd></dl>

</div>
</div>
<a class="anchor" id="ab9abcbfa1e06d1334c27cbf6f060426e"></a><!-- doxytag: member="CFigure::getFieldPositionChanged" ref="ab9abcbfa1e06d1334c27cbf6f060426e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_figure.html#ab9abcbfa1e06d1334c27cbf6f060426e">CFigure::getFieldPositionChanged</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_move_down_animator.html">CMoveDownAnimator</a></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if figure change its position on game field </dd></dl>

</div>
</div>
<a class="anchor" id="a32bc032b7768e5fd58c9fbd6e55cef76"></a><!-- doxytag: member="CFigure::getFieldPositions" ref="a32bc032b7768e5fd58c9fbd6e55cef76" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::array&lt; irr::core::vector3di &gt; <a class="el" href="class_c_figure.html#a32bc032b7768e5fd58c9fbd6e55cef76">CFigure::getFieldPositions</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>array of figure's game field positions </dd></dl>

</div>
</div>
<a class="anchor" id="a86058c9b1f7978f807378f171af07af8"></a><!-- doxytag: member="CFigure::getFigureName" ref="a86058c9b1f7978f807378f171af07af8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::stringw <a class="el" href="class_c_figure.html#a86058c9b1f7978f807378f171af07af8">CFigure::getFigureName</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>figure name </dd></dl>

</div>
</div>
<a class="anchor" id="a21cf29ca321109be4276476443e79be4"></a><!-- doxytag: member="CFigure::getFigureSize" ref="a21cf29ca321109be4276476443e79be4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::f32 <a class="el" href="class_c_figure.html#a21cf29ca321109be4276476443e79be4">CFigure::getFigureSize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>figure scale factor by one axis </dd></dl>

</div>
</div>
<a class="anchor" id="ac2637bbd7ebed46f4f25d67818660af7"></a><!-- doxytag: member="CFigure::getMaterial" ref="ac2637bbd7ebed46f4f25d67818660af7" args="(irr::u32 num)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::video::SMaterial &amp; <a class="el" href="class_c_figure.html#ac2637bbd7ebed46f4f25d67818660af7">CFigure::getMaterial</a> </td>
          <td>(</td>
          <td class="paramtype">irr::u32&#160;</td>
          <td class="paramname"><em>num</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a4a33091b086702eaf17c43a080486c2b"></a><!-- doxytag: member="CFigure::getMaterialCount" ref="a4a33091b086702eaf17c43a080486c2b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::u32 <a class="el" href="class_c_figure.html#a4a33091b086702eaf17c43a080486c2b">CFigure::getMaterialCount</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="aa7aef045a3820a2a13a7556b3745a45e"></a><!-- doxytag: member="CFigure::getParentNodeFieldPosition" ref="aa7aef045a3820a2a13a7556b3745a45e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::vector3di <a class="el" href="class_c_figure.html#aa7aef045a3820a2a13a7556b3745a45e">CFigure::getParentNodeFieldPosition</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>figure parent node position on game field </dd></dl>

</div>
</div>
<a class="anchor" id="a52bf26bf906b05f2cad89a1da6d0d191"></a><!-- doxytag: member="CFigure::getPosition" ref="a52bf26bf906b05f2cad89a1da6d0d191" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const irr::core::vector3df &amp; <a class="el" href="class_c_figure.html#a52bf26bf906b05f2cad89a1da6d0d191">CFigure::getPosition</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="aea8f6228c2d7ccf0854ff9d68919ccd1"></a><!-- doxytag: member="CFigure::getRotation" ref="aea8f6228c2d7ccf0854ff9d68919ccd1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const irr::core::vector3df &amp; <a class="el" href="class_c_figure.html#aea8f6228c2d7ccf0854ff9d68919ccd1">CFigure::getRotation</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="afd53d5c916efd6097bd8567d5f520659"></a><!-- doxytag: member="CFigure::getScale" ref="afd53d5c916efd6097bd8567d5f520659" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const irr::core::vector3df &amp; <a class="el" href="class_c_figure.html#afd53d5c916efd6097bd8567d5f520659">CFigure::getScale</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="ad40c303b01a1ce95a75cc74393b00e6d"></a><!-- doxytag: member="CFigure::getTransformedBoundingBox" ref="ad40c303b01a1ce95a75cc74393b00e6d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const irr::core::aabbox3d&lt; irr::f32 &gt; <a class="el" href="class_c_figure.html#ad40c303b01a1ce95a75cc74393b00e6d">CFigure::getTransformedBoundingBox</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a49fdb26a72a874fa603d9d3753294552"></a><!-- doxytag: member="CFigure::isFigureCollapse" ref="a49fdb26a72a874fa603d9d3753294552" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_figure.html#a49fdb26a72a874fa603d9d3753294552">CFigure::isFigureCollapse</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>If user constructs line (or plane) on game field that includes some node in the middle of figure this function calculates figure collapse and indicates <a class="el" href="class_c_move_down_animator.html">CMoveDownAnimator</a> that it's already collapsed so it can change collapsed figure nodes positions on game field i.e. t-block 1 X | 2 X---* | 3 X user constructs line #2, so figure has hole, this function collide figure, so it will look like X | X </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_move_down_animator.html">CMoveDownAnimator</a></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if figure already collapsed and animator need to recalculate nodes positions, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a08e14272f108c53454527a83f4bcd840"></a><!-- doxytag: member="CFigure::isFigureEmpty" ref="a08e14272f108c53454527a83f4bcd840" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_figure.html#a08e14272f108c53454527a83f4bcd840">CFigure::isFigureEmpty</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks if figure has no nodes instances, a.k.a. elemental blocks</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if figure has no elemental blocks, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a3b816d1bd875ac8ea4b0fc3ff304c138"></a><!-- doxytag: member="CFigure::isSolid" ref="a3b816d1bd875ac8ea4b0fc3ff304c138" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_figure.html#a3b816d1bd875ac8ea4b0fc3ff304c138">CFigure::isSolid</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if figure doesn't have holes (nodes connected side-by-side)</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if figure has no holes, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="ab15309246081d62f94a15461fcebc3ff"></a><!-- doxytag: member="CFigure::OnRegisterSceneNode" ref="ab15309246081d62f94a15461fcebc3ff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#ab15309246081d62f94a15461fcebc3ff">CFigure::OnRegisterSceneNode</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a02be5652ffd4c318fab1b3ec87a64790"></a><!-- doxytag: member="CFigure::remove" ref="a02be5652ffd4c318fab1b3ec87a64790" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a02be5652ffd4c318fab1b3ec87a64790">CFigure::remove</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Removes node, also remove any created textures, subnodes and deattach animators </p>

</div>
</div>
<a class="anchor" id="a1cb65b826c4d874f07442d62b5d575f6"></a><!-- doxytag: member="CFigure::removeAllCreatedTextures" ref="a1cb65b826c4d874f07442d62b5d575f6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a1cb65b826c4d874f07442d62b5d575f6">CFigure::removeAllCreatedTextures</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Remove all created textures from figure </p>

</div>
</div>
<a class="anchor" id="adf858d1abafeb1809c0c98061f3998a5"></a><!-- doxytag: member="CFigure::removeAllCreatedTextures" ref="adf858d1abafeb1809c0c98061f3998a5" args="(irr::scene::ISceneNode *node)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a1cb65b826c4d874f07442d62b5d575f6">CFigure::removeAllCreatedTextures</a> </td>
          <td>(</td>
          <td class="paramtype">irr::scene::ISceneNode *&#160;</td>
          <td class="paramname"><em>node</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Recursive version of removeAllCreatedTextures method</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>- pointer which texture and all its children textures to remove </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a25ae8b28514fda0cd0085c3cc1d3a995"></a><!-- doxytag: member="CFigure::removeNodeByOffset" ref="a25ae8b28514fda0cd0085c3cc1d3a995" args="(irr::core::vector3di &amp;offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a25ae8b28514fda0cd0085c3cc1d3a995">CFigure::removeNodeByOffset</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::vector3di &amp;&#160;</td>
          <td class="paramname"><em>offset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Removes node from figure by offset (full relative position from root node)</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adcdf27dd7b4443cfbe71f755962315fb"></a><!-- doxytag: member="CFigure::render" ref="adcdf27dd7b4443cfbe71f755962315fb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#adcdf27dd7b4443cfbe71f755962315fb">CFigure::render</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a8f8b716ca67f4868ed88745bc0959d9a"></a><!-- doxytag: member="CFigure::saveFigureToFile" ref="a8f8b716ca67f4868ed88745bc0959d9a" args="(irr::io::path pathToFile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_figure.html#a8f8b716ca67f4868ed88745bc0959d9a">CFigure::saveFigureToFile</a> </td>
          <td>(</td>
          <td class="paramtype">irr::io::path&#160;</td>
          <td class="paramname"><em>pathToFile</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Saves this figure-class instance to file</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pathToFile</td><td>- path (relative or full) to figure file </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if figure saved to file, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a5464534917482746e41c05d06b5b248f"></a><!-- doxytag: member="CFigure::setFieldPositionChanged" ref="a5464534917482746e41c05d06b5b248f" args="(bool newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a5464534917482746e41c05d06b5b248f">CFigure::setFieldPositionChanged</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_move_down_animator.html">CMoveDownAnimator</a></dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newValue</td><td>- new value, if figure change its position on game field </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae1890603d1689bde36a309febcce4a38"></a><!-- doxytag: member="CFigure::setFieldPositions" ref="ae1890603d1689bde36a309febcce4a38" args="(irr::core::array&lt; irr::core::vector3di &gt; newFieldPositions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#ae1890603d1689bde36a309febcce4a38">CFigure::setFieldPositions</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::array&lt; irr::core::vector3di &gt;&#160;</td>
          <td class="paramname"><em>newFieldPositions</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newFieldPositions</td><td>- new array of figure's game field positions </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7840e399feb2007c86e6634908c70b41"></a><!-- doxytag: member="CFigure::setFigureSize" ref="a7840e399feb2007c86e6634908c70b41" args="(irr::f32 newSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a7840e399feb2007c86e6634908c70b41">CFigure::setFigureSize</a> </td>
          <td>(</td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>newSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newSize</td><td>- new figure scale factor, applies to all axises </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a75c67cdc2b5539f06f191fcabcab6e8f"></a><!-- doxytag: member="CFigure::setParentNodeFieldPosition" ref="a75c67cdc2b5539f06f191fcabcab6e8f" args="(irr::core::vector3di newposition)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a75c67cdc2b5539f06f191fcabcab6e8f">CFigure::setParentNodeFieldPosition</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::vector3di&#160;</td>
          <td class="paramname"><em>newposition</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newposition</td><td>- new parent node position on game field </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab0f1cb8794db1569b20e09f9dc443dbd"></a><!-- doxytag: member="CFigure::setPosition" ref="ab0f1cb8794db1569b20e09f9dc443dbd" args="(const irr::core::vector3df &amp;newpos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#ab0f1cb8794db1569b20e09f9dc443dbd">CFigure::setPosition</a> </td>
          <td>(</td>
          <td class="paramtype">const irr::core::vector3df &amp;&#160;</td>
          <td class="paramname"><em>newpos</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="aac378c878c44b112cb37331f7402535e"></a><!-- doxytag: member="CFigure::setRotation" ref="aac378c878c44b112cb37331f7402535e" args="(const irr::core::vector3df &amp;rotation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#aac378c878c44b112cb37331f7402535e">CFigure::setRotation</a> </td>
          <td>(</td>
          <td class="paramtype">const irr::core::vector3df &amp;&#160;</td>
          <td class="paramname"><em>rotation</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a345d107d126815dd566a0e019edb67d1"></a><!-- doxytag: member="CFigure::setScale" ref="a345d107d126815dd566a0e019edb67d1" args="(const irr::core::vector3df &amp;scale)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_figure.html#a345d107d126815dd566a0e019edb67d1">CFigure::setScale</a> </td>
          <td>(</td>
          <td class="paramtype">const irr::core::vector3df &amp;&#160;</td>
          <td class="paramname"><em>scale</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aea3b335a168f850759680c4a99ee05a9"></a><!-- doxytag: member="CFigure::fieldPositions" ref="aea3b335a168f850759680c4a99ee05a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::array&lt;irr::core::vector3di&gt; <a class="el" href="class_c_figure.html#aea3b335a168f850759680c4a99ee05a9">CFigure::fieldPositions</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>array of figure game field positions </p>

</div>
</div>
<a class="anchor" id="a9a39fd4b3513dbc4b52e044b985a4eab"></a><!-- doxytag: member="CFigure::parentNodeFieldPosition" ref="a9a39fd4b3513dbc4b52e044b985a4eab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::vector3di <a class="el" href="class_c_figure.html#a9a39fd4b3513dbc4b52e044b985a4eab">CFigure::parentNodeFieldPosition</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>vector to parent node game field position </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/hokan/NetBeansProjects/TetrisGame/headers/<a class="el" href="_c_figure_8h_source.html">CFigure.h</a></li>
<li>/home/hokan/NetBeansProjects/TetrisGame/sources/CFigure.cpp</li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_c_figure.html">CFigure</a>      </li>

    <li class="footer">Generated on Sun Jul 6 2014 19:35:11 for Tetris Game by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
